from math import *
from PublicReference.base import *


class 职业主动技能(主动技能):
    技能施放时间 = 0.0
    脱手 = 1
    data0 = []
    data1 = []
    data2 = []
    data3 = []

    def 等效百分比(self, 武器类型):
        等效倍率 = 0.0
        if len(self.data0) >= self.等级 and len(self.data0) > 0:
            等效倍率 += self.data0[self.等级] * self.攻击次数
        if len(self.data1) >= self.等级 and len(self.data1) > 0:
            等效倍率 += self.data1[self.等级] * self.攻击次数2
        if len(self.data2) >= self.等级 and len(self.data2) > 0:
            等效倍率 += self.data2[self.等级] * self.攻击次数3
        if len(self.data3) >= self.等级 and len(self.data3) > 0:
            等效倍率 += self.data3[self.等级] * self.攻击次数4
        return 等效倍率 * (1 + self.TP成长 * self.TP等级) * self.倍率


class 技能0(职业主动技能):
    名称 = '背摔'
    所在等级 = 5
    等级上限 = 60
    基础等级 = 50
    #基础 = 1386.43 * 1.092
    #成长 = 156.57 * 1.092
    CD = 5.0
    TP成长 = 0.08
    TP上限 = 5
    data0 = [int(i*1.0*1.092) for i in [0, 1543, 1702, 1858, 2012, 2168, 2327, 2483, 2637, 2796, 2952, 3108, 3262, 3421, 3577, 3737, 3893, 4046, 4203, 4362, 4518, 4671, 4831, 4987, 5146, 5299, 5456, 5612, 5771, 5928, 6081, 6240, 6396, 6553,
                                        6706, 6865, 7022, 7181, 7334, 7490, 7647, 7806, 7959, 8116, 8275, 8431, 8590, 8744, 8900, 9056, 9215, 9369, 9525, 9684, 9841, 9994, 10150, 10309, 10466, 10625, 10778, 10935, 11091, 11250, 11404, 11560, 11719, 11875, 12029, 12188, 12344]]


class 技能1(职业主动技能):
    名称 = '抛投'
    所在等级 = 15
    等级上限 = 60
    基础等级 = 46
    #基础 = 3164.50 * 1.077
    #成长 = 357.47 * 1.077
    CD = 8.5
    TP成长 = 0.1
    TP上限 = 5
    data0 = [int(i*1.0*1.077) for i in [0, 3522, 3881, 4238, 4594, 4953, 5310, 5668, 6025, 6381, 6740, 7097, 7455, 7812, 8169, 8527, 8884, 9242, 9599, 9956, 10314, 10671, 11029, 11386, 11744, 12101, 12458, 12816, 13173, 13531, 13888, 14245, 14603, 14960, 15319,
                                        15675, 16032, 16391, 16747, 17106, 17462, 17819, 18178, 18534, 18893, 19250, 19608, 19965, 20322, 20680, 21037, 21395, 21752, 22109, 22467, 22824, 23182, 23539, 23896, 24254, 24611, 24969, 25326, 25683, 26041, 26398, 26756, 27113, 27472, 27828, 28185]]


class 技能2(被动技能):
    名称 = '摔技强化'
    所在等级 = 15
    等级上限 = 20
    基础等级 = 10
    关联技能2 = ['裂石破天', '死亡摇篮']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            if self.等级 <= 10:
                return round(1 + 0.01 * self.等级, 5)
            else:
                return round(1.1 + 0.02 * (self.等级 - 10), 5)

    def 加成倍率2(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return 1.65


class 技能3(职业主动技能):
    名称 = '折颈'
    所在等级 = 20
    等级上限 = 60
    基础等级 = 41
    #基础 = 3430.65
    #成长 = 387.38
    CD = 7.7
    TP成长 = 0.1
    TP上限 = 5
    data0 = [int(i*1.0) for i in [0, 3818, 4205, 4593, 4980, 5366, 5754, 6141, 6529, 6916, 7304, 7691, 8079, 8466, 8854, 9241, 9629, 10016, 10402, 10790, 11177, 11565, 11952, 12340, 12727, 13115, 13502, 13890, 14277, 14665, 15052, 15439, 15825, 16213, 16600,
                                  16988, 17375, 17763, 18150, 18538, 18925, 19313, 19700, 20088, 20475, 20861, 21249, 21636, 22024, 22411, 22799, 23186, 23574, 23961, 24349, 24736, 25124, 25511, 25897, 26285, 26672, 27060, 27447, 27834, 28222, 28609, 28997, 29384, 29772, 30159, 30547]]


class 技能4(职业主动技能):
    名称 = '野蛮冲撞'
    所在等级 = 25
    等级上限 = 60
    基础等级 = 41
    #基础 = 4091.91 * 1.05
    #成长 = 462.08 * 1.05
    CD = 8.0
    TP成长 = 0.1
    TP上限 = 5
    data0 = [int(i*1.0*1.05) for i in [0, 4554, 5016, 5478, 5941, 6403, 6865, 7327, 7789, 8251, 8713, 9175, 9637, 10099, 10561, 11023, 11485, 11947, 12409, 12871, 13333, 13795, 14257, 14719, 15181, 15643, 16105, 16567, 17029, 17491, 17953, 18415, 18877, 19339,
                                       19801, 20263, 20725, 21187, 21651, 22113, 22575, 23037, 23499, 23961, 24423, 24885, 25347, 25809, 26271, 26733, 27195, 27657, 28119, 28581, 29043, 29505, 29967, 30429, 30891, 31353, 31815, 32277, 32739, 33201, 33663, 34125, 34587, 35049, 35511, 35973, 36435]]


class 技能5(被动技能):
    名称 = '强力抱摔'
    所在等级 = 20
    等级上限 = 11
    基础等级 = 1
    关联技能 = ['所有']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.18 + 0.02 * self.等级, 5)


class 技能6(职业主动技能):
    名称 = '霹雳肘击'
    所在等级 = 30
    等级上限 = 60
    基础等级 = 38
    #基础 = 5348.07 * 1.05
    #成长 = 603.95 * 1.05
    CD = 12.0
    TP成长 = 0.10
    TP上限 = 5
    data0 = [int(i*1.0*1.05) for i in [0, 5952, 6557, 7160, 7765, 8368, 8973, 9576, 10180, 10783, 11388, 11991, 12596, 13199, 13804, 14409, 15012, 15616, 16220, 16824, 17427, 18032, 18635, 19240, 19843, 20448, 21051, 21656, 22259, 22863, 23467, 24071, 24674, 25279,
                                       25882, 26487, 27090, 27695, 28298, 28903, 29507, 30110, 30715, 31318, 31923, 32526, 33131, 33734, 34339, 34942, 35546, 36150, 36754, 37357, 37962, 38565, 39170, 39773, 40378, 40981, 41586, 42189, 42793, 43398, 44001, 44606, 45209, 45814, 46417, 47022, 47625]]


class 技能7(职业主动技能):
    名称 = '空绞锤'
    所在等级 = 30
    等级上限 = 60
    基础等级 = 38
    #基础 = 3787.39 * 1.078
    #成长 = 436.65 * 1.078
    CD = 7.0
    TP成长 = 0.10
    TP上限 = 5
    data0 = [int(i*1.0*1.078) for i in [0, 4224, 4654, 5088, 5532, 5968, 6402, 6837, 7277, 7716, 8151, 8582, 9023, 9456, 9896, 10331, 10771, 11204, 11645, 12079, 12520, 12950, 13384, 13825, 14263, 14703, 15136, 15570, 16013, 16449, 16878, 17314, 17751, 18197, 18630,
                                        19064, 19497, 19939, 20380, 20809, 21244, 21683, 22118, 22558, 22991, 23433, 23866, 24307, 24738, 25177, 25612, 26049, 26485, 26924, 27360, 27798, 28236, 28665, 29106, 29543, 29976, 30418, 30851, 31292, 31726, 32164, 32596, 33037, 33471, 33912, 34345]]


class 技能8(职业主动技能):
    名称 = '霹雳冲击'
    所在等级 = 35
    等级上限 = 60
    基础等级 = 36
    #基础 = 2559.92
    #成长 = 289.04
    #基础2 = 5835.91
    #成长2 = 659.11
    攻击次数 = 1
    攻击次数2 = 1
    CD = 20.0
    TP成长 = 0.10
    TP上限 = 5
    data0 = [int(i*1.103) for i in [0, 2849, 3138, 3427, 3716, 4005, 4294, 4584, 4872, 5162, 5450, 5740, 6028, 6318, 6606, 6896, 7184, 7474, 7762, 8052, 8340, 8630, 8919, 9208, 9497, 9786, 10075, 10364, 10653, 10942, 11231, 11521, 11809, 12099, 12387, 12677,
                                    12965, 13255, 13543, 13833, 14121, 14411, 14699, 14989, 15277, 15567, 15856, 16145, 16434, 16723, 17012, 17301, 17591, 17880, 18169, 18458, 18747, 19036, 19325, 19614, 19903, 20192, 20482, 20770, 21060, 21348, 21638, 21926, 22216, 22504, 22794]]
    data1 = [int(i*1.103) for i in [0, 6495, 7155, 7814, 8473, 9132, 9791, 10451, 11110, 11769, 12428, 13087, 13745, 14405, 15064, 15723, 16382, 17041, 17701, 18360, 19019, 19678, 20337, 20995, 21654, 22314, 22973, 23632, 24291, 24950, 25610, 26269, 26928, 27587,
                                    28245, 28904, 29564, 30223, 30882, 31541, 32200, 32860, 33519, 34178, 34837, 35496, 36154, 36813, 37473, 38132, 38791, 39450, 40109, 40769, 41428, 42087, 42746, 43404, 44063, 44723, 45382, 46041, 46700, 47359, 48019, 48678, 49337, 49996, 50654, 51313, 51973]]


class 技能9(职业主动技能):
    名称 = '螺旋彗星落'
    所在等级 = 35
    等级上限 = 60
    基础等级 = 36
    #基础 = 8630.10 * 1.078
    #成长 = 974.93 * 1.078
    data0 = [int(i*1.0*1.078) for i in [0, 9605, 10580, 11555, 12530, 13504, 14479, 15454, 16429, 17403, 18378, 19353, 20326, 21301, 22276, 23250, 24225, 25200, 26174, 27149, 28124, 29099, 30073, 31048, 32021, 32996, 33971, 34946, 35920, 36895, 37870, 38845, 39819, 40794,
                                        41769, 42742, 43717, 44692, 45666, 46641, 47616, 48590, 49565, 50540, 51515, 52489, 53463, 54437, 55412, 56387, 57362, 58336, 59311, 60286, 61261, 62235, 63210, 64183, 65158, 66133, 67108, 68082, 69057, 70032, 71007, 71981, 72956, 73931, 74904, 75879, 76853]]
    CD = 20.0
    TP成长 = 0.10
    TP基础 = 5
    TP上限 = 5
    是否有护石 = 1
    护石选项 = ['魔界', '圣痕']

    def 装备护石(self, x):
        if x == 0:
            self.倍率 *= 1.20
            self.CD *= 0.88
        elif x == 1:
            self.倍率 *= 1.29
            self.CD *= 0.88
    # 附加效果：攻击力+8%更变至攻击力+17%


class 技能10(职业主动技能):
    名称 = '地狱摇篮（抓轰炮）'
    所在等级 = 40
    等级上限 = 60
    基础等级 = 33
    #基础 = 13623.29 * 1.078
    #成长 = 1539.26 * 1.078
    data0 = [int(i*1.0*1.078) for i in [0, 15166, 16705, 18245, 19782, 21322, 22859, 24399, 25938, 27476, 29015, 30553, 32092, 33631, 35169, 36708, 38246, 39786, 41325, 42863, 44402, 45940, 47479, 49018, 50556, 52095, 53635, 55172, 56712, 58250, 59789, 61328, 62866, 64405, 65943,
                                        67482, 69022, 70559, 72099, 73636, 75176, 76715, 78253, 79792, 81330, 82869, 84409, 85946, 87486, 89023, 90563, 92102, 93640, 95179, 96718, 98256, 99795, 101333, 102872, 104412, 105950, 107489, 109027, 110566, 112105, 113643, 115182, 116720, 118259, 119799, 121336]]
    CD = 30.0
    TP成长 = 0.10
    TP基础 = 5
    TP上限 = 5
    是否有护石 = 1
    护石选项 = ['魔界', '圣痕']

    def 装备护石(self, x):
        if x == 0:
            self.倍率 *= 1.23
            self.CD *= 0.9
        elif x == 1:
            self.倍率 *= 1.32
            self.CD *= 0.9
    # 附加效果：最后一击攻击力+30%更变至最后一击攻击力+59% ; [抓轰炮]攻击力 +10%更变至[抓轰炮]攻击力 +19%


class 技能11(职业主动技能):
    名称 = '裂石破天'
    所在等级 = 45
    等级上限 = 60
    基础等级 = 31
    # 基础 = 15889.25 * 1.10
    # 成长 = 1794.98 * 1.10
    # 落地物理攻击力：<data8>
    # 学习[随机应变]后形态
    data0 = [int(i*1.10) for i in [0, 10718, 11806, 12895, 13981, 15070, 16157, 17243, 18332, 19420, 20506, 21595, 22682, 23768, 24857, 25943, 27031, 28120, 29207, 30296, 31381, 32468, 33557, 34645, 35732, 36820, 37906, 38993, 40082, 41170, 42257, 43345, 44432, 45518,
                                   46607, 47695, 48782, 49870, 50957, 52045, 53132, 54218, 55307, 56395, 57484, 58571, 59657, 60743, 61832, 62920, 64009, 65095, 66181, 67270, 68357, 69445, 70534, 71620, 72709, 73795, 74882, 75971, 77057, 78145, 79234, 80320, 81407, 82495, 83582, 84670, 85759]]
    CD = 45
    TP成长 = 0.10
    TP基础 = 5
    TP上限 = 5
    是否有护石 = 1
    护石选项 = ['魔界', '圣痕']

    def 装备护石(self, x):
        if x == 0:
            self.倍率 *= 1.23
        elif x == 1:
            self.倍率 *= 1.31
   # 最后一击冲击波攻击力+17%更变至最后一击冲击波攻击力+28% ; [随机应变]冲击波攻击力增加量+13%更变至[随机应变]冲击波攻击力增加量+21%


class 技能12(被动技能):
    名称 = '抓取奥义'
    所在等级 = 48
    等级上限 = 40
    基础等级 = 20

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.09 + 0.015 * self.等级, 5)


class 技能13(职业主动技能):
    名称 = '末日风暴'
    所在等级 = 50
    等级上限 = 40
    基础等级 = 12
    #基础 = 1340.79
    #成长 = 406.02
    #基础2 = 20945.11
    #成长2 = 6317.08
    攻击次数2 = 1
    # 倍率 = 1.107
    CD = 140.0
    data0 = [int(i*1.107) for i in [0, 1750, 2156, 2560, 2966, 3373, 3779, 4184, 4589, 4996, 5401, 5807, 6213, 6618, 7026, 7430, 7836, 8242, 8648, 9052, 9460, 9865, 10270, 10676, 11081, 11489, 11893, 12299, 12705, 13112, 13518, 13922, 14328, 14734, 15139,
                                    15545, 15952, 16357, 16762, 17169, 17574, 17981, 18385, 18791, 19198, 19604, 20009, 20415, 20820, 21228, 21632, 22037, 22444, 22849, 23257, 23661, 24067, 24473, 24879, 25284, 25690, 26096, 26501, 26907, 27313, 27720, 28124, 28530, 28936, 29341, 29749]]
    data1 = [int(i*1.107) for i in [0, 27248, 33566, 39883, 46204, 52523, 58840, 65159, 71476, 77796, 84114, 90433, 96750, 103070, 109388, 115706, 122025, 128344, 134662, 140980, 147298, 153616, 159936, 166254, 172572, 178891, 185209, 191529, 197846, 204165, 210482, 216802, 223119, 229439, 235757,
                                    242076, 248395, 254712, 261030, 267350, 273669, 279986, 286305, 292623, 298943, 305261, 311579, 317897, 324216, 330535, 336853, 343171, 349490, 355808, 362127, 368445, 374764, 381082, 387401, 393718, 400037, 406356, 412675, 418993, 425311, 431629, 437949, 444267, 450585, 456903, 463222]]


class 技能14(职业主动技能):
    名称 = '空绞连锤（抓轰炮）'
    所在等级 = 60
    等级上限 = 40
    基础等级 = 23
    #基础 = 1170.88
    #成长 = 132.08
    data0 = [int(i*1.132) for i in [0, 1303, 1435, 1566, 1700, 1832, 1963, 2095, 2229, 2360, 2492, 2625, 2757, 2889, 3022, 3153, 3286, 3418, 3550, 3682, 3815, 3947, 4079, 4211, 4342, 4476, 4608, 4739, 4873, 5005, 5136, 5268, 5402, 5533,
                                    5665, 5798, 5929, 6062, 6195, 6326, 6458, 6591, 6724, 6855, 6987, 7121, 7252, 7384, 7515, 7649, 7781, 7912, 8045, 8178, 8309, 8442, 8574, 8707, 8838, 8971, 9103, 9235, 9368, 9500, 9631, 9764, 9897, 10028, 10160, 10294, 10425]]
    #基础2 = 14058.93
    #成长2 = 1588.06
    data1 = [int(i*1.132) for i in [0, 15647, 17235, 18823, 20410, 21997, 23585, 25172, 26761, 28348, 29936, 31523, 33110, 34699, 36286, 37873, 39460, 41047, 42636, 44223, 45810, 47397, 48985, 50574, 52161, 53749, 55336, 56923, 58511, 60099, 61686, 63273, 64860, 66449, 68036,
                                    69623, 71210, 72798, 74387, 75974, 77561, 79149, 80736, 82324, 83911, 85499, 87086, 88673, 90260, 91849, 93436, 95023, 96610, 98199, 99787, 101374, 102961, 104549, 106136, 107724, 109312, 110899, 112486, 114073, 115662, 117249, 118836, 120423, 122010, 123600, 125187]]
    攻击次数2 = 1
    # 倍率 = 1.132
    CD = 30.0
    # TP成长 = 0.10
    # TP基础 = 5
    # TP上限 = 5
    是否有护石 = 1
    护石选项 = ['魔界', '圣痕']

    def 装备护石(self, x):
        if x == 0:
            self.倍率 *= 1.12
        elif x == 1:
            self.倍率 *= 1.21
    # 攻击力 +12%更变至攻击力  +21%


class 技能15(被动技能):
    名称 = '极手奥义'
    所在等级 = 75
    等级上限 = 40
    基础等级 = 11
    关联技能 = ['所有']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.18 + 0.02 * self.等级, 5)


class 技能16(职业主动技能):
    名称 = '死亡摇篮'
    所在等级 = 70
    等级上限 = 60
    基础等级 = 18
    # 基础 = 25524.88 * 1.10
    # 成长 = 2883.51 * 1.10
    # 旋转攻击物理攻击力：<data6>
    data0 = [int(i*1.10) for i in [0, 17217, 18963, 20710, 22458, 24204, 25951, 27698, 29443, 31190, 32939, 34684, 36431, 38178, 39924, 41671, 43419, 45165, 46912, 48659, 50404, 52151, 53900, 55645, 57392, 59139, 60885, 62632, 64379, 66126, 67873, 69620, 71365, 73112, 74859,
                                   76605, 78352, 80100, 81846, 83593, 85340, 87085, 88832, 90581, 92327, 94072, 95821, 97566, 99312, 101062, 102807, 104553, 106300, 108047, 109792, 111541, 113288, 115033, 116780, 118527, 120273, 122020, 123768, 125514, 127261, 129008, 130753, 132500, 134249, 135994, 137741]]
    CD = 50
    TP成长 = 0.10
    TP基础 = 5
    TP上限 = 5
    是否有护石 = 1

    护石选项 = ['魔界', '圣痕']

    def 装备护石(self, x):
        if x == 0:
            self.倍率 *= 1.23
        elif x == 1:
            self.倍率 *= 1.31


class 技能17(职业主动技能):
    名称 = '末日摇篮'
    所在等级 = 75
    等级上限 = 40
    基础等级 = 16
    #基础 = 7654.70
    #成长 = 864.27
    #基础2 = 30620.97
    #成长2 = 3457.06
    data0 = [int(i*1.1) for i in [0, 8519, 9383, 10247, 11112, 11976, 12840, 13705, 14569, 15433, 16297, 17162, 18026, 18890, 19755, 20619, 21483, 22348, 23212, 24076, 24941, 25805, 26669, 27533, 28398, 29262, 30126, 30991, 31855, 32719, 33584, 34448, 35312, 36177,
                                  37041, 37905, 38769, 39634, 40498, 41362, 42227, 43091, 43955, 44820, 45684, 46548, 47413, 48277, 49141, 50005, 50870, 51734, 52598, 53463, 54327, 55191, 56056, 56920, 57784, 58649, 59513, 60377, 61243, 62106, 62970, 63834, 64699, 65563, 66427, 67292, 68156]]
    data1 = [int(i*1.1) for i in [0, 34078, 37533, 40990, 44450, 47905, 51362, 54822, 58277, 61734, 65190, 68650, 72106, 75562, 79022, 82479, 85934, 89394, 92849, 96306, 99766, 103221, 106678, 110134, 113594, 117050, 120506, 123966, 127423, 130878, 134338, 137793, 141250, 144710, 148166,
                                  151622, 155078, 158538, 161995, 165450, 168910, 172367, 175822, 179282, 182737, 186194, 189654, 193110, 196566, 200022, 203482, 206939, 210394, 213854, 217311, 220766, 224226, 227682, 231138, 234598, 238054, 241511, 244970, 248426, 251883, 255338, 258798, 262255, 265710, 269170, 272626]]
    攻击次数2 = 1
    # 倍率 = 1.1
    CD = 40.0
    是否有护石 = 1
    护石选项 = ['圣痕']

    def 装备护石(self, x):
        if x == 0:
            self.倍率 *= 1.3225
            self.CD *= 0.9
    # 攻击力+15% ；生成总攻击力15%伤害的旋风（多段，15次攻击，每次1%）


class 技能18(职业主动技能):
    名称 = '风暴之舞'
    所在等级 = 80
    等级上限 = 40
    基础等级 = 13
    #基础 = 5308.98
    #成长 = 600.99
    #基础2 = 14760.91
    #成长2 = 1665.05
    data0 = [int(i*1.1) for i in [0, 5910, 6511, 7108, 7710, 8308, 8907, 9507, 10108, 10707, 11306, 11907, 12504, 13105, 13703, 14303, 14903, 15502, 16103, 16701, 17301, 17900, 18501, 19099, 19699, 20300, 20897, 21499, 22097, 22697, 23296, 23897, 24496, 25095,
                                  25696, 26293, 26895, 27493, 28093, 28692, 29293, 29892, 30491, 31092, 31689, 32291, 32888, 33489, 34090, 34687, 35288, 35886, 36486, 37086, 37685, 38285, 38885, 39484, 40084, 40684, 41282, 41882, 42482, 43081, 43681, 44281, 44880, 45480, 46080, 46678, 47278]]
    data1 = [int(i*1.1) for i in [0, 16426, 18091, 19759, 21424, 23090, 24755, 26425, 28091, 29757, 31424, 33089, 34755, 36422, 38088, 39753, 41421, 43086, 44752, 46422, 48087, 49753, 51419, 53086, 54751, 56417, 58084, 59750, 61416, 63084, 64751, 66417, 68084, 69749, 71415,
                                  73081, 74748, 76414, 78079, 79746, 81412, 83079, 84747, 86413, 88079, 89746, 91413, 93077, 94743, 96411, 98077, 99743, 101410, 103076, 104742, 106408, 108075, 109741, 111407, 113073, 114741, 116407, 118073, 119739, 121406, 123072, 124738, 126404, 128071, 129738, 131404]]
    攻击次数 = 6
    攻击次数2 = 1
    # 倍率 = 1.1
    CD = 45.0
    是否有护石 = 1
    护石选项 = ['圣痕']

    def 装备护石(self, x):
        if x == 0:
            self.data0 = [int(x*0.56) for x in self.data0]
            self.攻击次数 = 13
            # self.基础 *= 0.56
            # self.成长 *= 0.56
            # self.攻击次数 = 13
            self.倍率 *= 1.19
    # 多段攻击力减少44% ；次数+7；攻击力+19%


class 技能19(职业主动技能):
    名称 = '苍宇彗星落'
    所在等级 = 85
    等级上限 = 40
    基础等级 = 5
    #基础 = 8601.87
    #成长 = 2598.03
    #基础2 = 77442.63
    #成长2 = 23385.07
    data0 = [int(i*1.1) for i in [0, 11201, 13798, 16396, 18995, 21592, 24190, 26787, 29384, 31981, 34580, 37177, 39774, 42371, 44970, 47567, 50166, 52763, 55360, 57957, 60555, 63152, 65749, 68346, 70946,
                                  73543, 76141, 78738, 81335, 83932, 86530, 89128, 91725, 94323, 96921, 99518, 102116, 104713, 107311, 109908, 112506, 115103, 117700, 120298, 122895, 125494, 128092, 130689, 133286, 135883, 138481]]
    data1 = [int(i*1.1) for i in [0, 100838, 124220, 147601, 170985, 194368, 217753, 241133, 264516, 287900, 311281, 334667, 358048, 381431, 404814, 428196, 451580, 474962, 498344, 521728, 545111, 568494, 591876, 615259, 638642,
                                  662025, 685409, 708791, 732173, 755557, 778939, 802321, 825705, 849087, 872471, 895853, 919236, 942620, 966001, 989385, 1012768, 1036149, 1059533, 1082916, 1106300, 1129681, 1153063, 1176448, 1199831, 1223213, 1246596]]
    攻击次数2 = 1
    # 倍率 = 1.1
    CD = 180


class 技能20(被动技能):
    名称 = '光芒之翼'
    所在等级 = 95
    等级上限 = 40
    基础等级 = 4

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.18 + 0.02 * self.等级, 5)


class 技能21(主动技能):
    名称 = '送葬舞步'
    所在等级 = 95
    等级上限 = 11
    基础等级 = 6
    基础 = 94820.66208
    成长 = 10706.22299
    CD = 60.0


class 技能22(主动技能):
    名称 = '女皇时代辉煌舞台'
    所在等级 = 100
    等级上限 = 40
    基础等级 = 2
    关联技能 = ['无']
    基础 = 266199.5202
    成长 = 80363.47518
    CD = 290

    def 加成倍率(self, 武器类型):
        return 0


技能列表 = []
i = 0
while i >= 0:
    try:
        exec('技能列表.append(技能'+str(i)+'())')
        i += 1
    except:
        i = -1

技能序号 = dict()
for i in range(len(技能列表)):
    技能序号[技能列表[i].名称] = i

归元·柔道家·女一觉序号 = 0
归元·柔道家·女二觉序号 = 0
归元·柔道家·女三觉序号 = 0
for i in 技能列表:
    if i.所在等级 == 50:
        归元·柔道家·女一觉序号 = 技能序号[i.名称]
    if i.所在等级 == 85:
        归元·柔道家·女二觉序号 = 技能序号[i.名称]
    if i.所在等级 == 100:
        归元·柔道家·女三觉序号 = 技能序号[i.名称]

归元·柔道家·女护石选项 = ['无']
for i in 技能列表:
    if i.是否有伤害 == 1 and i.是否有护石 == 1:
        归元·柔道家·女护石选项.append(i.名称)

归元·柔道家·女符文选项 = ['无']
for i in 技能列表:
    if i.所在等级 >= 20 and i.所在等级 <= 80 and i.所在等级 != 50 and i.是否有伤害 == 1:
        归元·柔道家·女符文选项.append(i.名称)


class 归元·柔道家·女角色属性(角色属性):

    实际名称 = '归元·柔道家·女'
    角色 = '格斗家(女)'
    职业 = '柔道家'

    武器选项 = ['手套', '臂铠', '东方棍', '爪']

    类型选择 = ['物理固伤']

    类型 = '物理固伤'
    防具类型 = '轻甲'
    防具精通属性 = ['力量']

    主BUFF = 2.07

    def __init__(self):
        基础属性输入(self)
        self.技能栏 = deepcopy(技能列表)
        self.技能序号 = deepcopy(技能序号)


class 归元·柔道家·女(角色窗口):
    def 窗口属性输入(self):
        self.初始属性 = 归元·柔道家·女角色属性()
        self.角色属性A = 归元·柔道家·女角色属性()
        self.角色属性B = 归元·柔道家·女角色属性()
        self.一觉序号 = 归元·柔道家·女一觉序号
        self.二觉序号 = 归元·柔道家·女二觉序号
        self.三觉序号 = 归元·柔道家·女三觉序号
        self.护石选项 = deepcopy(归元·柔道家·女护石选项)
        self.符文选项 = deepcopy(归元·柔道家·女符文选项)

    def 界面(self):
        super().界面()

        self.死亡风暴次数选择 = MyQComboBox(self.main_frame2)
        for i in range(1, 14):
            self.死亡风暴次数选择.addItem('末日风暴：' + str(i) + '段')
        self.死亡风暴次数选择.setCurrentIndex(12)
        self.死亡风暴次数选择.resize(120, 20)
        self.死亡风暴次数选择.move(325, 390)

        self.职业存档.append(('死亡风暴次数选择', self.死亡风暴次数选择, 1))

    def 输入属性(self, 属性, x=0):
        super().输入属性(属性, x)
        属性.技能栏[属性.技能序号['末日风暴']].攻击次数 *= self.死亡风暴次数选择.currentIndex() + 1
